package titt.io.socket.in;

import java.io.InputStream;

public class NuderStream {

	private final InputStream in;
	private final int length;
	
	public NuderStream(TITTInputStream in, int length) {
		this(in.asStream(), length);
	}
	
	public NuderStream(InputStream in, int length) {
		this.in = in;
		this.length = length;
	}
	
	public InputStream getInputStream() {
		return in;
	}
	
	public int getLength() {
		return length;
	}
	
}
